﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JWin Demo</title>
<script language="javascript" type="text/javascript" src="JWin.js"></script>
<link href="JWinResAdodb/JWin.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="searchForm">
	<input type="text" name="keyword" id="keyword" onpropertychange="vControl('AUTOCOMPLETE',this)" oninput="vControl('AUTOCOMPLETE',this)" />
	更多效果,请查看 http://www.dajiaozi.com/x
</div>
<div id="acResult"></div>
<div id="keywordResult"></div>
<div id="view"></div>
</body>
<script language="javascript" type="text/javascript">
var acResult = document.getElementById("acResult");
var keywordIpt = document.getElementById("keyword");
var keywordResult = document.getElementById("keywordResult");
var view = document.getElementById("view");

var jwin1 = new JWin(800,300);
	jwin1.create();
	jwin1.setSkin("Adodb");
	jwin1.setSysButtons();
	jwin1.setTitle("迅雷狗狗 影视搜索");
	jwin1.setDrag();
	jwin1.setStatus(document.getElementById("searchForm"));
	jwin1.setBody(keywordResult);
	jwin1.moveTo(20,20);

var jwin2 = new JWin(300,300);
	jwin2.create();
	jwin2.setSkin("Adodb");
	jwin2.setTitle("迅雷狗狗 关键字检索结果");
	jwin2.setDrag();
	jwin2.setBody(acResult);
	jwin2.moveTo(820,20);

var jwin3 = new JWin(530,450);
	jwin3.create();
	jwin3.setSkin("Adodb");
	jwin3.setSysButtons(false,true,true);
	jwin3.setTitle("15秒视频预览");
	jwin3.setDrag();
	jwin3.setBody(view);
	//jwin3.hidden();
	
var vControl = function(pChoice){
///////////
}
</script>
</html>
